<?php
  include("sessiontest.php");
  include("classes/feeds.cls.php");
  
  $feeds = new Feeds(1);
  
  echo "<div id=\"feeds\" title=\"RSS Feeds\" class=\"panel\" selected=\"true\">";
  echo "<fieldset>";
  foreach ($feeds->getFeeds() as $feed) {
    echo "<div class=\"row\">";
    echo "<a href=\"feeditems.php?title=" . $feed->getTitle() . "&url=" . $feed->getURL() . "\" class=\"list\">" . $feed->getTitle() . "</a>";
    echo "</div>";
  }
  echo "</fieldset>";
  echo "</div>";
?>